package cn.tedu.medicalappointmentsystemk.pojo.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;
import java.util.List;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class UserBO implements Serializable {
    @ApiModelProperty("用户ID")
    Long id;
    @ApiModelProperty("用户名")
    String username;
    @ApiModelProperty("用户昵称")
    String nickname;
    @ApiModelProperty("头像")
    String imgUrl;
    @ApiModelProperty("Token(JWT)访问令牌")
    String token;
    @ApiModelProperty("权限ID")
    List<String> authorities;
}
